<!DOCTYPE html>
<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
<link rel="stylesheet" href="../js/easyui/themes/icon.css" />
<html>

	<head>
		<meta charset="UTF-8">
		<title>accordion折叠面板</title>
	</head>

	<script>
		$(function() {
			$("#czbkLink").click(function() {
				// 添加选项卡
				$('#mytabs').tabs('add', {

					title: '传智播客',

					content: '著名的IT教育机构',

					closable: true,

					tools: [{

						iconCls: 'icon-mini-refresh',

						handler: function() {

							alert('refresh');

						}

					}]

				});

			})
		})
	</script>

	<body class="easyui-layout">

		<div data-options="region:'north',title:'首页Logo',split:true" style="height:100px;"></div>

		<div data-options="region:'south',title:'版权',split:true" style="height:100px;"></div>

		<div data-options="region:'east',iconCls:'icon-reload',title:'查询条件'" style="width:100px;"></div>

		<div data-options="region:'west',title:'菜单',split:true" style="width:260px;">
			<div id="myaccordion" class="easyui-accordion" data-options="fit:true" style="width:300px;height:200px;">

				<div title="基本功能" data-options="iconCls:'icon-save'" style="overflow:auto;padding:10px;">

					<a href="javascript:void(0)" id="czbkLink">传智播客</a>

				</div>

				<div data-options="iconCls:'icon-reload',selected:true,title:'系统管理'" style="padding:10px;">

					系统管理

				</div>

			</div>

		</div>

		<div data-options="region:'center'">
			<div id="mytabs" class="easyui-tabs" fit='true' style="width:500px;height:250px;">

				<div title="消息中心" data-options="closable:true" style="overflow:auto;padding:20px;display:none;">tab2 </div>

				<div title="论坛" data-options="iconCls:'icon-reload',closable:true,selected:true" style="padding:20px;display:none;">tab3 </div>

			</div>

		</div>

	</body>

</html>